package com.taxi.driver.common;

import android.content.Context;

import com.mikepenz.iconics.context.IconicsContextWrapper;
import com.umeng.analytics.MobclickAgent;

/**
 * 功能描述：基础Activity
 */
public abstract class BaseActivity extends BaseActivityWithoutIconics {

    @Override
    protected void attachBaseContext(Context newBase) {
        //使用字体图片
        super.attachBaseContext(IconicsContextWrapper.wrap(newBase));
    }

    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}